﻿<title>用户测试</title>

<?php
echo "haha<br />";
class Kb{
	public $name;
	public $age;
	public $how;
	
	function __construct($sey){
		$this->name = $sey;
		echo $sey."You very good!"."<br />";
	}
}

$p1 = new Kb("吴");
?>

<?php
class Plass{
	public $name;
	public $blood=100;
	
	function __construct(){
		$this->name="Naive";
	}
	function att(){
		echo "你们啊，你们，<br />[$this->name]";
	}
}
	$p1 = new Plass();
	$p1->att();
?>
<?php
class att{
	public $name;
	public $age;
	public $PC;
	public $state;
	
	 function __construct(){
		$this->name="吴";
		$this->age=19;
		$this->state="china";
	}
	function say(){
		echo "<br />我叫[$this->name]，我来自[$this->state],我今年[$this->age]岁，<br />";
		
	}
}
	$p1 = new att();
	$p1->name="李";
	$p1->say();
?>